package webapp.service.Impl;

import org.springframework.stereotype.Service;
import webapp.service.CommService;

@Service
public class Child2ServiceImpl implements CommService {
    @Override
    public boolean checkCode(String code) {
        return "2".equals(code);
    }

    @Override
    public void doSomething() {
        System.out.println("do something in child2");
    }
}
